#pragma once
#pragma unmanaged
#include <stdint.h>
using namespace std;

class NativeSampleCPP
{
public:
	NativeSampleCPP(void) {
	data[0] = 255;
	data[1] = 0;
	data[2] = 0;
	data[3] = 0;
	};
	~NativeSampleCPP(void) {};

	// Gets data
	uint8_t* getData(void)
	{
		return data;
	};
	uint32_t getDataAsInt(void)
	{
		int n = 0;
		n = data[0] | data[1] << 8 | data[2] << 16 | data[3] << 24;
		return n;
	};
private:
	uint8_t data[4];
};

